class Person
	def initialize(&block)
		instance_eval(&block)
	end
	
	def name(name=nil)
		@name ||= name
	end
	
	def age(age=nil)
		@age ||= age
	end
end

david = Person.new do
	name "David"
	age 55 
end
puts david.name
puts david.age	